package com.shaw.workrecord.exception;

public class CustomerException extends RuntimeException{

    private Integer code;

    public CustomerException(Integer code, String message) {
        super(message);
        this.code = code;
    }

    public CustomerException(String message) {
        super(message);
        this.code = 200;
    }
}
